package com.zhiche.lisa.lspm.service.attach;

import com.zhiche.lisa.lspm.vo.attach.AttachDetailVO;
import com.zhiche.lisa.lspm.vo.attach.LicenseVO;

import java.util.List;

public interface AttachService {
    /**
     * 获取附件
     * @param licenseVO 证照类型，所属的承运商或司机等的id和标识
     * @return
     */
    List<AttachDetailVO> queryAttachList(LicenseVO licenseVO);

    /**
     * 创建附件信息
     * @param attachDetailVO
     * @return
     */
    List<AttachDetailVO> createAttach(AttachDetailVO attachDetailVO);

    /**
     * 根据id号和标识类型删除指定附件
     * @param attachDetailVO
     */
    void deleteAttach(AttachDetailVO attachDetailVO);
}
